home *** CD-ROM | disk | FTP | other *** search
/ JCSM Shareware Collection 1996 September / JCSM Shareware Collection (JCS Distribution) (September 1996).ISO / bother__ / cenvid.zip / CENVIDOS.ZIP / REBOOT_1.BAT < prev    next >
DOS Batch File  |  1995-03-28  |  1KB  |  27 lines

  1. @echo off
  2. REM *****************************************************************
  3. REM *** Reboot_1.bat - Reboot computer by jumping calling the     ***
  4. REM *** ver.1          boot interrupt 0x19. To provide protection ***
  5. REM ***                from accidentaly rebooting, you must enter ***
  6. REM ***                PLEASE as the first parameter.             ***
  7. REM *****************************************************************
  8.  
  9.  
  10. REM **************************************************************
  11. REM *** Check that "PLEASE" is the first parameter.  CEnviD     ***
  12. REM *** return errorlevel if it is not please.                 ***
  13. REM **************************************************************
  14. CEnviD return( strcmpi("%1","Please") ? 1 : 0 )
  15. if errorlevel 1 GOTO PLEASE
  16.  
  17.  
  18. REM ***************************************************
  19. REM *** Interrupt 0x19 is provided for a warm boot. ***
  20. REM ***************************************************
  21. CEnviD reg.ax = 0; interrupt(0x19,reg);
  22.  
  23.  
  24. :PLEASE
  25. ECHO Reboot_1.bat will reboot your computer.  To execute Reboot.bat you
  26. ECHO must enter: REBOOT_1 PLEASE
  27.